package com.cheng.example.book.advise151.chap1.client14;

import lombok.Data;

import java.io.Serializable;

/**
 * 工作类
 */

@Data
public class Salary implements Serializable {
    private static final long serialVersionUID = 2706085398747859680L;
    // 基本工资
    private int basePay;
    // 绩效工资
    private int bonus;

    public Salary(int _basepay, int _bonus) {
        this.basePay = _basepay;
        this.bonus = _bonus;
    }
     //Setter和Getter方法略

}